#include "User.h"

void from_json(const json& j, User& p)
{
    j.at("id").get_to(p.id);
    j.at("name").get_to(p.name);
    j.at("friends").get_to(p.friends);
    j.at("password").get_to(p.password);
}